package lpg;

class RuleSymbol extends Symbol
{
    RuleSymbol(String name, int poolIndex)
    {
        super(name, poolIndex);
    }

    IntArrayList rules()
    {
        return rules;
    }

    void addRule(int ruleNo)
    {
        rules.add(ruleNo);
    }

    private final IntArrayList rules = new IntArrayList();

}
